 package com.gmrz.uaf.policy.json;
 
 import com.gmrz.uaf.protocol.v1.schema.Policy;

import java.util.HashMap;
 
 public class JSONPolicyStore
 {
   private HashMap<String, Policy> policies;
 
   public JSONPolicyStore()
   {
     this.policies = new HashMap<String, Policy>();
   }
   public Policy get(String name) {
     return this.policies.get(name);
   }
 
   public void put(String name, Policy p) {
     this.policies.put(name, p);
   }
 
   HashMap<String, Policy> getAllPolicies() {
     return this.policies;
   }
 }
